package com.ying.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ying.domain.po.User;
import com.ying.domain.vo.UserVO;

import java.util.List;

/**
 * @author liujunjie
 * @Description description
 * @Date 2024-09-07 16:17
 **/
public interface IUserService  extends IService<User> {
    void deductBalance(Long id, Integer money);

    List<User> queryUsers(String name, Integer status, Integer minBalance, Integer maxBalance);

    UserVO queryUserAndAddressById(Long id);

    List<UserVO> queryUserAndAddressByIds(List<Long> ids);
}
